// dto/CourseAverageDTO.java
package com.example.studentmanagement2.dto;

public class CourseAverageDTO {
    private String courseName;
    private Double averageScore;

    // 构造器
    public CourseAverageDTO(String courseName, Double averageScore) {
        this.courseName = courseName;
        this.averageScore = averageScore;
    }

    // Getter
    public String getCourseName() { return courseName; }
    public Double getAverageScore() { return averageScore; }
}